//
//  RootViewController.h
//  GR8_Iphl
//
//  Created by Tim Linsen on 9/01/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
@class ManageDatabase;
@class MainMenuViewController;

@interface RootViewController : UIViewController{
    IBOutlet UIScrollView *scrollView;
    IBOutlet UITextField *usernameField;
	IBOutlet UITextField *passwordField;
	IBOutlet UIButton *loginButton;
    IBOutlet UILabel *lbl;
	IBOutlet UIActivityIndicatorView *loginIndicator;
    IBOutlet ManageDatabase *manageDatabase;
    IBOutlet MainMenuViewController *mainMenuViewController;
    
}
@property (nonatomic, retain) UITextField *usernameField;
@property (nonatomic, retain) UITextField *passwordField;
@property (nonatomic, retain) UIButton *loginButton;
@property (nonatomic, retain) UIActivityIndicatorView *loginIndicator;
@property (nonatomic, retain) UILabel *lbl;
@property (nonatomic, retain) IBOutlet ManageDatabase *manageDatabase;
@property (nonatomic, retain) IBOutlet MainMenuViewController *mainMenuViewController;
- (NSString *)dataFilePath;
- (void)applicationWillResignActive:(NSNotification *)notification;
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
- (IBAction) login: (id) sender;


@end
